package com.wonder.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum BasiessStatus {
    End("end","结束"),
    Start("start","开始"),
    Stop("stop","暂停");

    @EnumValue
    private String key;

    @JsonValue
    private String name;

    BasiessStatus(String key,String name){
        this.key = key;
        this.name = name;
    }

    @Override
    public String toString(){
        return this.name;
    }
}
